package com.wsfk.ssm.path;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class SiteUtil {
	
	public static String querySite(){
		ApplicationContext ac = new ClassPathXmlApplicationContext( "classpath:applicationContext_site.xml");
		Site site = new Site();//(Site) ac.getBean("site");
		String apache = site.getApachePath();
		return apache;
	}
	
}
